package cn.tedu.boot09.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration//此注解添加后 工程启动时会自动加载此配置类
@MapperScan("cn.tedu.boot09.mapper")//Mapper扫描注解,省去每个Mapper接口都添加@mapper
//快捷键:ctrl+shift+alt+c(copy完整路径快捷键)
public class MyBatisConfig {
}
